package com.wskj.workbench.bo.web;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.*;


/**
 * 用户订单配送地址编辑对象 tz_user_receive_order
 *
 * @author wsdz
 * @date 2023-03-07
 */
@Data
@ApiModel("用户订单配送地址编辑对象")
public class TbUserReceiveOrderEditBo {


    /** ID */
    @ApiModelProperty("ID")
    private Long receiveOrderId;

    /** 收货地址id */
    @ApiModelProperty("收货地址id")
    @NotNull(message = "收货地址id不能为空")
    private Long receiveId;

    /** 用户ID */
    @ApiModelProperty("用户ID")
    @NotBlank(message = "用户ID不能为空")
    private String userId;

    /** 性别 0:男 1:女 */
    @ApiModelProperty("性别 0:男 1:女")
    private Integer sex;

    /** 收货人姓名 */
    @ApiModelProperty("收货人姓名")
    private String receiveName;

    /** 收货人电话 */
    @ApiModelProperty("收货人电话")
    @NotBlank(message = "收货人电话不能为空")
    private String receivePhone;

    /** 省ID */
    @ApiModelProperty("省ID")
    private Long provinceId;

    /** 省 */
    @ApiModelProperty("省")
    private String province;

    /** 区域ID */
    @ApiModelProperty("区域ID")
    private Long areaId;

    /** 区 */
    @ApiModelProperty("区")
    private String area;

    /** 城市ID */
    @ApiModelProperty("城市ID")
    private Long cityId;

    /** 城市 */
    @ApiModelProperty("城市")
    private String city;

    /** 详细地址 */
    @ApiModelProperty("详细地址")
    private String address;
}
